<?php
$site_difficulties = array(
    "undefined" =>  _("Undefined"),
    "proof"     =>  _("Proof"),
    "reproof"   =>  _("Reproof"),
    "markup" =>  _("Markup"),
    "check" =>  _("Check"),
    "special" =>  _("Special"),
    "complete" =>  _("Complete"),
    "test" =>  _("Test")
//    "easy"      => _("Easy"),
//    "average"   => _("Average"),
//    "hard"      => _("Difficult")
);

$site_languages = array(
    "eng" => _("English"),
    "ita" => _("Italian"),
    "fra" => _("French"),
    "esp" => _("Spanish"),
);

$font_faces = array('courier'          => 'Courier New', 
                    'times'            => 'Times', 
                    'arial'            => 'Arial', 
                    'lucida'           => 'Lucida',
                    'monospaced'       => 'monospace',
                    'dpcustommono2'    => 'DPCustomMono2', 
                    'lucidaconsole'    => 'Lucida Console',
                    'dejavu'           => 'DejaVu Sans Mono',
                    'monaco'           => 'Monaco');

$font_sizes = array(
                   '8pt'  => '8pt' ,
                   '9pt'  => '9pt' ,
                   '10pt' => '10pt',
                   '11pt' => '11pt',
                   '12pt' => '12pt',
                   '13pt' => '13pt',
                   '14pt' => '14pt',
                   '15pt' => '15pt',
                   '16pt' => '16pt',
                   '18pt' => '18pt',
                   '20pt' => '20pt',
                   '24pt' => '24pt',
                   '30pt' => '30pt'
                   );

$site_genres = array(
    'Other'              => _('Other'),
    'Adventure'          => _('Adventure'),
    'Agriculture'        => _('Agriculture'),
    'Archaeology'        => _('Archaeology'),
    'Art'                => _('Art'),
    'Animals'            => _('Animals'),
    'Anthropology'       => _('Anthropology'),
    'Architecture'       => _('Architecture'),
    'Astronomy'          => _('Astronomy'),
    'Autobiography'      => _('Autobiography'),
    'Bibliography'       => _('Bibliography'),
    'Biography'          => _('Biography'),
    'Biology'            => _('Biology'),
    'Business'           => _('Business'),
    'Chemistry'          => _('Chemistry'),
    'Collection'         => _('Collection'),
    'Comics'             => _('Comics'),
    'Cooking'            => _('Cooking'),
    'Correspondence'     => _('Correspondence'),
    'Crafts'             => _('Crafts'),
    'Diary'              => _('Diary'),
    'Dictionary'         => _('Dictionary'),
    'Drama'              => _('Drama'),
    'Economics'          => _('Economics'),
    'Education'          => _('Education'),
    'Encyclopedia'       => _('Encyclopedia'),
    'Engineering'        => _('Engineering'),
    'Essay'              => _('Essay'),
    'Folklore'           => _('Folklore'),
    'General Fiction'    => _('General Fiction'),
    'Geography'          => _('Geography'),
    'Geology'            => _('Geology'),
    'Grammar'            => _('Grammar'),
    'Health'             => _('Health'),
    'History'            => _('History'),
    'Historical Fiction' => _('Historical Fiction'),
    'Horror'             => _('Horror'),
    'Horticulture'       => _('Horticulture'),
    'Humor'              => _('Humor'),
    'Instructional'      => _('Instructional'),
    'Juvenile'           => _('Juvenile'),
    'Law'                => _('Law'),
    'Linguistics'        => _('Linguistics'),
    'Literature'         => _('Literature'),
    'Mathematics'        => _('Mathematics'),
    'Medicine'           => _('Medicine'),
    'Military'           => _('Military'),
    'Mixed Form'         => _('Mixed Form'),
    'Music'              => _('Music'),
    'Musicology'         => _('Musicology'),
    'Mystery'            => _('Mystery'),
    'Mythology'          => _('Mythology'),
    'Nature'             => _('Nature'),
    'Natural Science'    => _('Natural Science'),
    'Non-Fiction'        => _('Non-Fiction'),
    'Periodical'         => _('Periodical'),
    'Philosophy'         => _('Philosophy'),
    'Physics'            => _('Physics'),
    'Picture Book'       => _('Picture Book'),
    'Poetry'             => _('Poetry'),
    'Political Science'  => _('Political Science'),
    'Psychology'         => _('Psychology'),
    'Recreation'         => _('Recreation'),
    'Religious'          => _('Religious'),
    'Reference'          => _('Reference'),
    'Romance'            => _('Romance'),
    'Satire'             => _('Satire'),
    'Science'            => _('Science'),
    'Science Fiction'    => _('Science Fiction'),
    'Short Story'        => _('Short Story'),
    'Sociology'          => _('Sociology'),
    'Speech'             => _('Speech'),
    'Spirituality'       => _('Spirituality'),
    'Sports'             => _('Sports'),
    'Technology'         => _('Technology'),
    'Travel'             => _('Travel'),
    'Veterinary'         => _('Veterinary'),
    'Western'            => _('Western'),
    'Zoology'            => _('Zoology'),
);

// from http://www.loc.gov/standards/iso639-2/php/code_list.php
// tab-delimited
/*
$_languages_data_array = array(
"aar	aa	Afar",
"abk	ab	Abkhazian",
"ave	ae	Avestan",
"afr	af	Afrikaans",
"aka	ak	Akan",
"amh	am	Amharic",
"arg	an	Aragonese",
"ara	ar	Arabic",
"asm	as	Assamese",
"ava	av	Avaric",
"aym	ay	Aymara",
"aze	az	Azerbaijani",
"bak	ba	Bashkir",
"bel	be	Belarusian",
"bul	bg	Bulgarian",
"bih	bh	Bihari",
"bis	bi	Bislama",
"bam	bm	Bambara",
"ben	bn	Bengali",
"tib	bo	Tibetan",
"bre	br	Breton",
"bos	bs	Bosnian",
"cat	ca	Catalan",
"che	ce	Chechen",
"cha	ch	Chamorro",
"cos	co	Corsican",
"cre	cr	Cree",
"ces	cs	Czech",
"cze	cs	Czech",
"chu	cu	Slavic",
"chv	cv	Chuvash",
"wel	cy	Welsh",
"dan	da	Danish",
"deu	de	German",
"ger	de	German",
"div	dv	Divehi",
"dzo	dz	Dzongkha",
"ewe	ee	Ewe",
"ell	el	Greek modern",
"gre	el	Greek modern",
"grc	gr	Greek ancient",
"eng	en	English",
"epo	eo	Esperanto",
"est	et	Estonian",
"spa	es	Spanish",
"eus	eu	Basque",
"baq	eu	Basque",
"fas	fa	Persian",
"per	fa	Persian",
"ful	ff	Fulah",
"fin	fi	Finnish",
"fij	fj	Fijian",
"fao	fo	Faroese",
"fra	fr	French",
"fre	fr	French",
"fry	fy	Frisian",
"gle	ga	Irish",
"gla	gd	Gaelic",
"glg	gl	Galician",
"grn	gn	Guarani",
"guj	gu	Gujarati",
"glv	gv	Manx",
"hau	ha	Hausa",
"heb	he	Hebrew",
"hin	hi	Hindi",
"hmo	ho	Hiri Motu",
"hrv	hr	Croatian",
"hat	ht	Haitian",
"hun	hu	Hungarian",
"arm	hy	Armenian",
"hye	hy	Armenian",
"her	hz	Herero",
"ina	ia	Interlingua",
"ind	id	Indonesian",
"ile	ie	Interlingue",
"ibo	ig	Igbo",
"iii	ii	Sichuan Yi",
"ipk	ik	Inupiaq",
"ido	io	Ido",
"ice	is	Icelandic",
"ita	it	Italian",
"iku	iu	Inuktitut",
"jpn	ja	Japanese",
"jav	jv	Javanese",
"geo	ka	Georgian",
"kon	kg	Kongo",
"kik	ki	Kikuyu",
"kua	kj	Kuanyama",
"kaz	kk	Kazakh",
"kal	kl	Kalaallisut",
"khm	km	Central Khmer",
"kan	kn	Kannada",
"kor	ko	Korean",
"kau	kr	Kanuri",
"kas	ks	Kashmiri",
"kur	ku	Kurdish",
"kom	kv	Komi",
"cor	kw	Cornish",
"kir	ky	Kirghiz",
"lat	la	Latin",
"ltz	lb	Luxembourgish",
"lug	lg	Ganda",
"lim	li	Limburgan",
"lin	ln	Lingala",
"lao	lo	Lao",
"lit	lt	Lithuanian",
"lub	lu	Luba-Katanga",
"lav	lv	Latvian",
"mlg	mg	Malagasy",
"mah	mh	Marshallese",
"mao	mi	Maori",
"mac	mk	Macedonian",
"mal	ml	Malayalam",
"mon	mn	Mongolian",
"mar	mr	Marathi",
"may	ms	Malay",
"may	ms	Malay",
"mlt	mt	Maltese",
"bur	my	Burmese",
"nau	na	Nauru",
"nob	nb	Bokmål",
"nde	nd	Ndebele N.",
"nep	ne	Nepali",
"ndo	ng	Ndonga",
"dut	nl	Dutch",
"nld	nl	Dutch",
"nno	nn	Norwegian Nynorsk",
"nor	no	Norwegian",
"nbl	nr	Ndebele S.",
"nav	nv	Navajo",
"nya	ny	Chichewa",
"oci	oc	Occitan",
"oji	oj	Ojibwa",
"orm	om	Oromo",
"ori	or	Oriya",
"oss	os	Ossetian",
"pan	pa	Panjabi",
"pli	pi	Pali",
"pol	pl	Polish",
"pus	ps	Pushto",
"por	pt	Portuguese",
"que	qu	Quechua",
"roh	rm	Romansh",
"run	rn	Rundi",
"rum	ro	Romanian",
"ron	ro	Romanian",
"rus	ru	Russian",
"kin	rw	Kinyarwanda",
"san	sa	Sanskrit",
"srd	sc	Sardinian",
"snd	sd	Sindhi",
"sme	se	Sami N",
"sag	sg	Sango",
"sin	si	Sinhala",
"slk	sk	Slovak",
"slo	sk	Slovak",
"slv	sl	Slovenian",
"smo	sm	Samoan",
"sna	sn	Shona",
"som	so	Somali",
"alb	sq	Albanian",
"srp	sr	Serbian",
"ssw	ss	Swati",
"sot	st	Sotho",
"sun	su	Sundanese",
"swe	sv	Swedish",
"swa	sw	Swahili",
"tam	ta	Tamil",
"tel	te	Telugu",
"tgk	tg	Tajik",
"tha	th	Thai",
"tir	ti	Tigrinya",
"tuk	tk	Turkmen",
"tgl	tl	Tagalog",
"tsn	tn	Tswana",
"ton	to	Tonga",
"tur	tr	Turkish",
"tso	ts	Tsonga",
"tat	tt	Tatar",
"twi	tw	Twi",
"tah	ty	Tahitian",
"uig	ug	Uighur",
"ukr	uk	Ukrainian",
"urd	ur	Urdu",
"uzb	uz	Uzbek",
"ven	ve	Venda",
"vie	vi	Vietnamese",
"vol	vo	Volapük",
"wln	wa	Walloon",
"wol	wo	Wolof",
"xho	xh	Xhosa",
"yid	yi	Yiddish",
"yor	yo	Yoruba",
"zha	za	Zhuang",
"chi	zh	Chinese",
"zul	zu	Zulu"
);
*/

// these languages may be associated with projects
// should be in the order to be displayed as a list
$_active_languages_array_2 = array( 
    "it", "nl", "eo", "en", "fi", "fr", "de", "de-alt", "la",
    "pt", "es", "sv", "ar", "bn", "bg", "ca", "cs",
    "da", "el", "et", "eu",
    "fo", "fa", "ga", "gl", "grc", "he",
    "hi", "hr", "hu", "hy", "is", "it", "ku", "lv",
    "lt", "nn", "nb", "no", "pl", "ro",
    "ru", "sr", "hr", "sk", "sl", 
    "ta", "te", "tl", "uk", "und", "cy");
/*
$_active_languages_array_3 = array( 
    "ita", "nld", "epo", "eng", "fin", "fra", "deu", "lat",
    "por", "spa", "swe", "ara", "ben", "bul", "cat", "ces",
    "cze", "dan", "deu", "ell", "eng", "epo", "est", "eus",
    "fao", "fas", "fin", "fra", "gle", "glg", "grc", "heb",
    "hin", "hrv", "hun", "hye", "ice", "ita", "kur", "lav",
    "lit", "nld", "nno", "nob", "nor", "pol", "por", "ron",
    "rum", "rus", "srp", "hrv", "slk", "slv", "spa", "swe",
    "tam", "tgl", "ukr", "wel");
*/

$_languages_array_2 = array(
  "ab" => "Abkhazian",
  "aa" => "Afar",
  "af" => "Afrikaans",
  "ak" => "Akan",
  "sq" => "Albanian",
  "am" => "Amharic",
  "ar" => "Arabic",
  "an" => "Aragonese",
  "hy" => "Armenian",
  "hy" => "Armenian",
  "as" => "Assamese",
  "av" => "Avaric",
  "ae" => "Avestan",
  "ay" => "Aymara",
  "az" => "Azerbaijani",
  "bm" => "Bambara",
  "ba" => "Bashkir",
  "eu" => "Basque",
  "eu" => "Basque",
  "be" => "Belarusian",
  "bn" => "Bengali",
  "bh" => "Bihari",
  "bi" => "Bislama",
  "nb" => "Bokmål",
  "bs" => "Bosnian",
  "br" => "Breton",
  "bg" => "Bulgarian",
  "my" => "Burmese",
  "ca" => "Catalan",
  "km" => "Central Khmer",
  "ch" => "Chamorro",
  "ce" => "Chechen",
  "ny" => "Chichewa",
  "zh" => "Chinese",
  "cv" => "Chuvash",
  "kw" => "Cornish",
  "co" => "Corsican",
  "cr" => "Cree",
  "hr" => "Croatian",
  "cs" => "Czech",
  "cs" => "Czech",
  "da" => "Danish",
  "dv" => "Divehi",
  "nl" => "Dutch",
  "nl" => "Dutch",
  "dz" => "Dzongkha",
  "en" => "English",
  "eo" => "Esperanto",
  "et" => "Estonian",
  "ee" => "Ewe",
  "fo" => "Faroese",
  "fj" => "Fijian",
  "fi" => "Finnish",
  "fr" => "French",
  "fr" => "French",
  "fy" => "Frisian",
  "ff" => "Fulah",
  "gd" => "Gaelic",
  "gl" => "Galician",
  "lg" => "Ganda",
  "ka" => "Georgian",
  "de" => "German",
  "de-alt" => "German (de-alt)",
  "grc" => "Greek ancient",
  "el" => "Greek modern",
  "gn" => "Guarani",
  "gu" => "Gujarati",
  "ht" => "Haitian",
  "ha" => "Hausa",
  "he" => "Hebrew",
  "hz" => "Herero",
  "hi" => "Hindi",
  "ho" => "Hiri Motu",
  "hu" => "Hungarian",
  "is" => "Icelandic",
  "io" => "Ido",
  "ig" => "Igbo",
  "id" => "Indonesian",
  "ia" => "Interlingua",
  "ie" => "Interlingue",
  "iu" => "Inuktitut",
  "ik" => "Inupiaq",
  "ga" => "Irish",
  "it" => "Italian",
  "ja" => "Japanese",
  "jv" => "Javanese",
  "kl" => "Kalaallisut",
  "kn" => "Kannada",
  "kr" => "Kanuri",
  "ks" => "Kashmiri",
  "kk" => "Kazakh",
  "ki" => "Kikuyu",
  "rw" => "Kinyarwanda",
  "ky" => "Kirghiz",
  "kv" => "Komi",
  "kg" => "Kongo",
  "ko" => "Korean",
  "kj" => "Kuanyama",
  "ku" => "Kurdish",
  "lo" => "Lao",
  "la" => "Latin",
  "lv" => "Latvian",
  "li" => "Limburgan",
  "ln" => "Lingala",
  "lt" => "Lithuanian",
  "lu" => "Luba-Katanga",
  "lb" => "Luxembourgish",
  "mk" => "Macedonian",
  "mg" => "Malagasy",
  "ms" => "Malay",
  "ms" => "Malay",
  "ml" => "Malayalam",
  "mt" => "Maltese",
  "gv" => "Manx",
  "mi" => "Maori",
  "mr" => "Marathi",
  "mh" => "Marshallese",
  "mn" => "Mongolian",
  "na" => "Nauru",
  "nv" => "Navajo",
  "nd" => "Ndebele N.",
  "nr" => "Ndebele S.",
  "ng" => "Ndonga",
  "ne" => "Nepali",
  "no" => "Norwegian",
  "nn" => "Norwegian Nynorsk",
  "oc" => "Occitan",
  "oj" => "Ojibwa",
  "or" => "Oriya",
  "om" => "Oromo",
  "os" => "Ossetian",
  "pi" => "Pali",
  "pa" => "Panjabi",
  "fa" => "Persian",
  "fa" => "Persian",
  "pl" => "Polish",
  "pt" => "Portuguese",
  "ps" => "Pushto",
  "qu" => "Quechua",
  "ro" => "Romanian",
  "ro" => "Romanian",
  "rm" => "Romansh",
  "rn" => "Rundi",
  "ru" => "Russian",
  "se" => "Sami N",
  "sm" => "Samoan",
  "sg" => "Sango",
  "sa" => "Sanskrit",
  "sc" => "Sardinian",
  "sr" => "Serbian",
  "sn" => "Shona",
  "ii" => "Sichuan Yi",
  "sd" => "Sindhi",
  "si" => "Sinhala",
  "cu" => "Slavic",
  "sk" => "Slovak",
  "sk" => "Slovak",
  "sl" => "Slovenian",
  "so" => "Somali",
  "st" => "Sotho",
  "es" => "Spanish",
  "su" => "Sundanese",
  "sw" => "Swahili",
  "ss" => "Swati",
  "sv" => "Swedish",
  "tl" => "Tagalog",
  "ty" => "Tahitian",
  "tg" => "Tajik",
  "ta" => "Tamil",
  "tt" => "Tatar",
  "te" => "Telugu",
  "th" => "Thai",
  "bo" => "Tibetan",
  "ti" => "Tigrinya",
  "to" => "Tonga",
  "ts" => "Tsonga",
  "tn" => "Tswana",
  "tr" => "Turkish",
  "tk" => "Turkmen",
  "tw" => "Twi",
  "ug" => "Uighur",
  "uk" => "Ukrainian",
  "und" => "Undeterminate", 
  "ur" => "Urdu",
  "uz" => "Uzbek",
  "ve" => "Venda",
  "vi" => "Vietnamese",
  "vo" => "Volapük",
  "wa" => "Walloon",
  "cy" => "Welsh",
  "wo" => "Wolof",
  "xh" => "Xhosa",
  "yi" => "Yiddish",
  "yo" => "Yoruba",
  "za" => "Zhuang",
  "zu" => "Zulu",
);
?>
